package com.web.base.auth.model;

import com.blue.jdbc.annotation.GeneratorType;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;

/**
 * 角色－用户实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年04月15日
 */
@Table(name = "auth_role_user")
public class RoleUser
{
	@Id(generator = GeneratorType.ASSIGNED)
	private Integer roleId; // 角色编号
	@Id(generator = GeneratorType.ASSIGNED)
	private Integer userId; // 用户编号

	public RoleUser()
	{
	}

	public RoleUser(Integer roleId, Integer userId)
	{
		this.roleId = roleId;
		this.userId = userId;
	}

	public Integer getRoleId()
	{
		return this.roleId;
	}

	public void setRoleId(Integer roleId)
	{
		this.roleId = roleId;
	}

	public Integer getUserId()
	{
		return this.userId;
	}

	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

}
